import request from './index'
export function getTopMv(offset, limit = 10) {
    return request.get('top/mv', {
        offset,
        limit
    })
}
/**
 * 
 * @param {number} id Mv播放地址
 */
export  function getMvUrl(id) {
    return request.get('mv/url',{id})
}
/**
 * 
 * @param {number} mvid Mv详情
 */
export function getVideoDetail(mvid) {
    return request.get('mv/detail',{mvid})
}
//相关Mv
export function getMvRelatedMv(id) {
    return request.get('related/allvideo',{id})
}